internet-of-things
Version:
Netbeast Internet Of Things Open Source documentation packaged to run offline
11 lines (8 loc) • 417 B
Markdown
# devices.discover([brand-name])
This function allows us to activate the discovery process. With the brand-name parameter you can specify a concrete app (like belkin-wemo, philips-hue). If you don´t include this argument, the discovery will be apply to all available brands.
````javascript
var nb = require('netbeast')
nb.devices().discovery('belkin-wemo')
.then(function (data) {}
.catch(function (error) {}
````